﻿using mozhi.smarterp.Finance.Querys;
using mozhi.smarterp.Finance.Tags;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace mozhi.smarterp.Finance.Files
{
    public interface IAttachmentAppService : IApplicationService
    {
        Task<AttachmentDto> GetAsync(Guid id);
        Task<PagedResultDto<AttachmentDto>> FindAsync(AttachmentPageQuery query);

        Task<AttachmentDto> CreateAsync(AttachmentCreateDto dto);

        Task DeleteAsync(Guid id);
    }
}
